﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace The_LarX
{
    public static class PathUtil
    {
        public static string MakeRelative(string originalPath, string path)
        {
            return path.Replace(originalPath, "");
        }

        public static string MakeEngineable(string path)
        {
            if (!path.ToLower().Contains("content"))
            {
                return Path.Combine("Content//", path);
            }
            return path;
        }
    }
}
